package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanOptionService {
	public static void main(String[] args){
		ApplicationContext context=new FileSystemXmlApplicationContext("src/min/chapter/three/BeanScope.xml");
		BeanScope service1=(BeanScope)context.getBean("service");
		BeanScope service2=(BeanScope)context.getBean("service");
		System.out.println("service1 : "+service1);
		System.out.println("service2 : "+service2);
	}
}
